package com.test.demo.provider.service;

public class DemoServiceStub implements DemoService {
    private DemoService demoService;

    public DemoServiceStub(DemoService demoService) {
        this.demoService = demoService;
    }

    @Override
    public String sayHello(String msg) {
        System.out.println("执行stub方法");
        return demoService.sayHello(msg);
    }
}
